package com.csun.cmny.provider.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class OldmanNurse implements Serializable {
    private Integer billId;

    private Integer oldmanId;

    private String nurseDate;

    private Integer breakfast;
    private BigDecimal breakfastAfterDis;
    private String breakfastSetMealName;

    private Integer lunch;
    private BigDecimal lunchAfterDis;
    private String lunchSetMealName;

    private Integer dinner;
    private BigDecimal dinnerAfterDis;
    private String dinnerSetMealName;

    private Integer bed;
    private BigDecimal bedAfterDis;
    private String bedSetMealName;

    private Integer nurse;
    private BigDecimal nurseAfterDis;
    private String nurseSetMealName;

    private String jsonData;
    private List<OldmanItem> oldmanItemList;

    private BigDecimal totalFee;

    private Integer valid;

    private List<ExpCtrItem> expCtrItemList;

    private static final long serialVersionUID = 1L;

    public Integer getBillId() {
        return billId;
    }

    public Integer getOldmanId() {
        return oldmanId;
    }

    public void setOldmanId(Integer oldmanId) {
        this.oldmanId = oldmanId;
    }

    public void setBillId(Integer billId) {
        this.billId = billId;
    }

    public String getNurseDate() {
        return nurseDate;
    }

    public void setNurseDate(String nurseDate) {
        this.nurseDate = nurseDate;
    }

    public Integer getBreakfast() {
        return breakfast;
    }

    public void setBreakfast(Integer breakfast) {
        this.breakfast = breakfast;
    }

    public Integer getLunch() {
        return lunch;
    }

    public void setLunch(Integer lunch) {
        this.lunch = lunch;
    }

    public Integer getDinner() {
        return dinner;
    }

    public void setDinner(Integer dinner) {
        this.dinner = dinner;
    }

    public Integer getBed() {
        return bed;
    }

    public void setBed(Integer bed) {
        this.bed = bed;
    }

    public Integer getNurse() {
        return nurse;
    }

    public void setNurse(Integer nurse) {
        this.nurse = nurse;
    }

    public List<ExpCtrItem> getExpCtrItemList() {
        return expCtrItemList;
    }

    public void setExpCtrItemList(List<ExpCtrItem> expCtrItemList) {
        this.expCtrItemList = expCtrItemList;
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public BigDecimal getBreakfastAfterDis() {
        return breakfastAfterDis;
    }

    public void setBreakfastAfterDis(BigDecimal breakfastAfterDis) {
        this.breakfastAfterDis = breakfastAfterDis;
    }

    public String getBreakfastSetMealName() {
        return breakfastSetMealName;
    }

    public void setBreakfastSetMealName(String breakfastSetMealName) {
        this.breakfastSetMealName = breakfastSetMealName;
    }

    public BigDecimal getLunchAfterDis() {
        return lunchAfterDis;
    }

    public void setLunchAfterDis(BigDecimal lunchAfterDis) {
        this.lunchAfterDis = lunchAfterDis;
    }

    public String getLunchSetMealName() {
        return lunchSetMealName;
    }

    public void setLunchSetMealName(String lunchSetMealName) {
        this.lunchSetMealName = lunchSetMealName;
    }

    public BigDecimal getDinnerAfterDis() {
        return dinnerAfterDis;
    }

    public void setDinnerAfterDis(BigDecimal dinnerAfterDis) {
        this.dinnerAfterDis = dinnerAfterDis;
    }

    public String getDinnerSetMealName() {
        return dinnerSetMealName;
    }

    public void setDinnerSetMealName(String dinnerSetMealName) {
        this.dinnerSetMealName = dinnerSetMealName;
    }

    public BigDecimal getBedAfterDis() {
        return bedAfterDis;
    }

    public void setBedAfterDis(BigDecimal bedAfterDis) {
        this.bedAfterDis = bedAfterDis;
    }

    public String getBedSetMealName() {
        return bedSetMealName;
    }

    public void setBedSetMealName(String bedSetMealName) {
        this.bedSetMealName = bedSetMealName;
    }

    public BigDecimal getNurseAfterDis() {
        return nurseAfterDis;
    }

    public void setNurseAfterDis(BigDecimal nurseAfterDis) {
        this.nurseAfterDis = nurseAfterDis;
    }

    public String getNurseSetMealName() {
        return nurseSetMealName;
    }

    public void setNurseSetMealName(String nurseSetMealName) {
        this.nurseSetMealName = nurseSetMealName;
    }

    public String getJsonData() {
        return jsonData;
    }

    public void setJsonData(String jsonData) {
        this.jsonData = jsonData;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public List<OldmanItem> getOldmanItemList() {
        return oldmanItemList;
    }

    public void setOldmanItemList(List<OldmanItem> oldmanItemList) {
        this.oldmanItemList = oldmanItemList;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OldmanNurse other = (OldmanNurse) that;
        return (this.getBillId() == null ? other.getBillId() == null : this.getBillId().equals(other.getBillId()))
            && (this.getNurseDate() == null ? other.getNurseDate() == null : this.getNurseDate().equals(other.getNurseDate()))
            && (this.getBreakfast() == null ? other.getBreakfast() == null : this.getBreakfast().equals(other.getBreakfast()))
            && (this.getLunch() == null ? other.getLunch() == null : this.getLunch().equals(other.getLunch()))
            && (this.getDinner() == null ? other.getDinner() == null : this.getDinner().equals(other.getDinner()))
            && (this.getBed() == null ? other.getBed() == null : this.getBed().equals(other.getBed()))
            && (this.getNurse() == null ? other.getNurse() == null : this.getNurse().equals(other.getNurse()))

            && (this.getTotalFee() == null ? other.getTotalFee() == null : this.getTotalFee().equals(other.getTotalFee()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getBillId() == null) ? 0 : getBillId().hashCode());
        result = prime * result + ((getNurseDate() == null) ? 0 : getNurseDate().hashCode());
        result = prime * result + ((getBreakfast() == null) ? 0 : getBreakfast().hashCode());
        result = prime * result + ((getLunch() == null) ? 0 : getLunch().hashCode());
        result = prime * result + ((getDinner() == null) ? 0 : getDinner().hashCode());
        result = prime * result + ((getBed() == null) ? 0 : getBed().hashCode());
        result = prime * result + ((getNurse() == null) ? 0 : getNurse().hashCode());

        result = prime * result + ((getTotalFee() == null) ? 0 : getTotalFee().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", billId=").append(billId);
        sb.append(", nurseDate=").append(nurseDate);
        sb.append(", breakfast=").append(breakfast);
        sb.append(", lunch=").append(lunch);
        sb.append(", dinner=").append(dinner);
        sb.append(", bed=").append(bed);
        sb.append(", nurse=").append(nurse);
        sb.append(", totalFee=").append(totalFee);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}